﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Text;
using Orleans;
using Orleans.Concurrency;
using Orleans.Runtime;
using Eb;

namespace Es
{
    [Reentrant]
    [StatelessWorker]
    public class GrainUCenterService : Grain, IUCenterService
    {
        //---------------------------------------------------------------------
        public Logger Logger { get { return GetLogger(); } }

        //---------------------------------------------------------------------
        Task<string> IUCenterService.playerNickNameExist(string nick_name)
        {
            Logger.Info("IUCenterService.playerNickNameExist() NickName=" + nick_name);

            return Task.FromResult("Hello!");
        }

    }
}
